package com.heima.admin;

import org.springframework.util.DigestUtils;

public class testAdmin {
    public static void main(String[] args) {

        String salt = "sdsa";
        String pswd = "wangwu"+salt;
        String saltPswd = DigestUtils.md5DigestAsHex(pswd.getBytes());
        System.out.println(saltPswd);

    }
}
